package com.linkzd.iot.service;

import com.linkzd.iot.domain.FloorRoomNumModel;
import com.linkzd.iot.domain.RoomInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IRoomInfoService {

    public List<RoomInfo> selectRoomInfoList(RoomInfo roomInfo);

    public List<FloorRoomNumModel> selectRoomInfoNum();

    int insertRoomInfo(RoomInfo roomInfo);

    int updateRoomInfo(RoomInfo roomInfo);

    int deleteRoomInfoById(Long id);

    /**
     * @Description: TODO 通过房间id查询房间号
     * @Author: cyx
     * @Date: 2024/5/20 23:03 
     */
    RoomInfo selectRoomInfoById(@Param("roomId") Long roomId);
}
